import $http from '../utils/request.js'

// 获取所有城市信息
export function getCityAll() {
	return $http.httpRequest({
		url: '/provinces/all'
	})
}

export function getProviceList() {
	return $http.httpRequest({
		url: '/common/province'
	})
}

export function getCityList(query) {
	return $http.httpRequest({
		url: '/common/city',
		data: query
	})
}

export function getAreaList(query) {
	return $http.httpRequest({
		url: '/common/area',
		data: query
	})
}